package com.ruoyi.assessLog.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出入日志对象 assess_log
 * 
 * @author 张柏焰
 * @date 2024-07-09
 */
public class AssessLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id,自动递增 */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 人员类型
 */
    @Excel(name = "人员类型 ")
    private Long personType;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private Long personId;

    /** 出入情况 */
    @Excel(name = "出入情况")
    private Long assess;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPersonType(Long personType) 
    {
        this.personType = personType;
    }

    public Long getPersonType() 
    {
        return personType;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setAssess(Long assess) 
    {
        this.assess = assess;
    }

    public Long getAssess() 
    {
        return assess;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("personType", getPersonType())
            .append("personId", getPersonId())
            .append("assess", getAssess())
            .append("time", getTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
